<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo ($media["title"]); ?></title>
<meta name="keywords" content="<?php echo ($media["keywords"]); ?>" />
<meta name="description" content="<?php echo ($media["description"]); ?>" />
<link href="css/base.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--#include file="head.html"-->
<div class="g-bd">
	<div class="g-mn">
		<div class="m-crumb">
			<ul class="f-cb">
				<li><a href="/DuxCms-2.0/">首页</a></li>
				<?php if(is_array($crumb)): foreach($crumb as $key=>$vo): ?><li><i>&gt;</i><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["name"]); ?></a></li><?php endforeach; endif; ?>
			</ul>
		</div>
		<?php if(is_array($pageList)): foreach($pageList as $key=>$vo): ?><div class="m-gb-lst">
			<div class="info"><?php echo ($vo["name"]); ?> | <?php echo ($vo["email"]); ?> | <?php echo (format_time($vo["time"],'Y-m-d H:i:s')); ?></div>
			<div class="content"><?php echo ($vo["content"]); ?></div>
		</div><?php endforeach; endif; ?>
		<div class="m-gb-form">
			<form action="<?php echo U('DuxCms/Form/push');?>" method="post" AutoComplete="off" >
				<div class="m-form"> 
                	<div class="formitm">
                        <label class="lab">昵称：</label>
                        <div class="ipt">
                            <input type="text" name="Fieldset_name" class="u-ipt" />
                        </div>
                    </div>
                    <div class="formitm">
                        <label class="lab">邮箱：</label>
                        <div class="ipt">
                            <input name="Fieldset_email" type="text" class="u-ipt" id="email" />
                        </div>
                    </div>
                    <div class="formitm">
                        <label class="lab">内容：</label>
                        <div class="ipt">
                          <textarea name="Fieldset_content" class="u-tta u-tta-6" id="content"></textarea>
                        </div>
                    </div>
					<div class="formitm formitm-1">
                    	<input name="table" type="hidden" value="guestbook">
                        <input name="token" type="hidden" value=' <?php echo service("DuxCms","Label","formToken",array("app"=>"DuxCms","label"=>"formToken","table"=>"guestbook",)); ?> '>
						<button class="u-btn" type="submit">确认发布</button>
					</div>
				</div>
			</form>
		</div>
		<div class="m-page"><?php echo ($page); ?> </div>
	</div>
	<div class="g-sd">
		<!--#include file="sidebar.html"-->
	</div>
	<div class="f-cb"></div>
</div>
<!--#include file="foot.html"-->
</body>
</html>